package lab01;

import java.util.Scanner;

public class Test07 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入成绩等级：A-D");
        String a = sc.next();

        switch (a) {
            case "A":
                System.out.println(a + "的成绩范围85分以上");
                break;
            case "B":
                System.out.println(a + "的成绩范围70-85");
                break;
            case "C":
                System.out.println(a + "的成绩范围60-70");
                break;
            case "D":
                System.out.println(a + "的成绩范围60分以下");
                break;
        }
    }
}